<template>
  <div class="visitRecord">
    <navBar :name="'就诊记录(排序)'" />
    <div class="visitRecord_top">
      <div class="visitRecord_top_box active">时间</div>
      <div class="visitRecord_top_box">医生</div>
      <div class="visitRecord_top_box">处方</div>
    </div>
    <list />
  </div>
</template>

<script>
import list from "./list.vue";
import navBar from "@/components/commonComponents/navBar.vue";
export default {
  name: "visitRecord",
  data() {
    return {

    };
  },
  components: { navBar, list },
};
</script>

<style lang="scss" scope>
.visitRecord .active::after {
  content: "";
  width: 40%;
  height: 2px;
  background-color: #0052d9;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #0052d9;
}
.visitRecord {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 40px;
  overflow-y: scroll;
  background-color: #fafafa;
  &_top {
    padding: 10px 0 0 0;
    display: flex;
    height: 45px;
    max-height: 50px;
    background-color: #fff;
    &_box {
      position: relative;
      justify-content: center;
      flex: 1;
      display: flex;
      align-items: center;
      font-size: 15px;
    }
  }
}
</style>
